package com.itheima.config;

import com.hzheima.util.ImageUtil;

import java.awt.image.BufferedImage;

public class AppConfig {
    public static final int App_WIDTH=1024;
    public static final int App_HIGHT=678;


    /*
    *   小球允许的最大数量
    * */
    public static final  int BALL_MAX_COUNT=2;

    /*
    * LEFT代表小球从左边移动,RIGHT代表小球从右边移动
    * */
    public static final int LEFT=0;
    public static final int RIGHT=1;

    //飞机的基本参数
    public static final BufferedImage img= ImageUtil.getImg("hero.png");
    public static final int PLANE_WIDTH=img.getWidth()/4;
    public static final int PLANE_HEIGHT=img.getHeight()/4;

    //



}
